package com.teemor.blog.service;

import com.teemor.blog.bean.condition.TbArticleExtendCondition;
import com.teemor.blog.bean.entity.TbArticleExtend;
import java.util.List;

/**
 * @author: zhoulk
 * @Description: 原子服务
 * @date: 2019/11/26 14:50:14
 */
public interface IArticleExtendService {
     /** 
   * @Function: com.teemor.blog.service.IArticleExtendService.countArticleExtend
   * @Description: 数量查询接口
   * @param: condition
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2019/11/26 14:50:14
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2019/11/26 14:50:14     zhoulk           v1.0.0             修改原因
   *
   */
    int countArticleExtend(TbArticleExtendCondition condition);

     /** 
   * @Function: com.teemor.blog.service.IArticleExtendService.qryArticleExtends
   * @Description: 列表查询接口
   * @param: condition
   * @return: List<TbArticleExtend>
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2019/11/26 14:50:14
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2019/11/26 14:50:14     zhoulk           v1.0.0             修改原因
   *
   */
    List<TbArticleExtend> qryArticleExtends(TbArticleExtendCondition condition);

     /** 
   * @Function: com.teemor.blog.service.IArticleExtendService.qryArticleExtendById
   * @Description: 根据主键查询
   * @param: atcId
   * @return: TbArticleExtend
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2019/11/26 14:50:14
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2019/11/26 14:50:14     zhoulk           v1.0.0             修改原因
   *
   */
    TbArticleExtend qryArticleExtendById(Integer atcId);

     /** 
   * @Function: com.teemor.blog.service.IArticleExtendService.addArticleExtend
   * @Description: 新增接口
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2019/11/26 14:50:14
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2019/11/26 14:50:14     zhoulk           v1.0.0             修改原因
   *
   */
    int addArticleExtend(TbArticleExtend inParam);

     /** 
   * @Function: com.teemor.blog.service.IArticleExtendService.updArticleExtendById
   * @Description: 根据Id更新接口
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2019/11/26 14:50:14
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2019/11/26 14:50:14     zhoulk           v1.0.0             修改原因
   *
   */
    int updArticleExtendById(TbArticleExtend inParam);

    /**
     * 点赞
     * @param atcId
     * @param type
     * @return
     */
    Integer praise(Integer atcId, Integer type, String ip);
}